import Vue from 'vue'
import App from "./App.vue";
import VueResource from "vue-resource";

// 使用vue-reSource 插件
Vue.use(VueResource)

new Vue({
  el:'#app',
  render:n=>n(App),
  beforeCreate() {
    Vue.prototype.$bus = this //全局事件总线
  }
})

